<template>
  <template v-if="cfg.user?.uid == null">
    <template v-if="type == 'card'">
      <div style="background-color: var(--base-ts-bg); padding: 0.85rem">
      <div>{{ errortitle }}</div>
      <div>{{ errorval }}</div>
      </div>
    </template>
  </template>
  <template v-else>
    <slot name="next"></slot>
  </template>
</template>

<script>
//2024/07/21 猫燐
import { cfg } from "@/cfg/cfg.js";

export default defineComponent({
  props: {
    type: {},
    errortitle : {},
    errorval : {},
  },
  setup(props) {
    return {
      cfg,
    };
  },
});
</script>
